<cfimport prefix="mango" taglib="../../tags/mango">
<cfimport prefix="mangox" taglib="../../tags/mangoextras">
<cfimport prefix="template" taglib=".">
<cfif thisTag.executionMode EQ "start">		
			<!--- search box --->
            <mangox:TemplatePod id="search">
            <div id="search">
                     <h3>Search</h3>
                     <form name="searchForm" id="searchform" method="get" action="<mango:Blog searchUrl />">
                		<div><input type="text" value="" name="term" id="s" /><input type="submit" id="searchsubmit" value="Search" /></div>
         		   </form>
             </div>
             </mangox:TemplatePod>
            
			<!--- all categories --->
			<mangox:TemplatePod id="categories" title="Categories">
				<ul class="linklist">
				<mango:Categories parent="">
					<mango:Category ifCurrentIsFirst>
						<li class="first"><a href="<mango:CategoryProperty link />" title="<mango:CategoryProperty title />"><mango:CategoryProperty title /></a></li>
					</mango:Category>
					<mango:Category ifCurrentIsNotFirst>
						<li><a href="<mango:CategoryProperty link />" title="<mango:CategoryProperty title />"><mango:CategoryProperty title /></a></li>
					</mango:Category>
				</mango:Categories>
					</ul>
			</mangox:TemplatePod>
			
			<!--- all archives by month --->
			<mangox:TemplatePod id="monthly-archives" title="Monthly Archives">
				<ul class="linklist"><mango:Archives type="month"><mango:Archive>
					<li><a href="<mango:ArchiveProperty link />"><mango:ArchiveProperty title dateformat="mmmm yyyy" /> (<mango:ArchiveProperty postcount />)</a></li>
				</mango:Archive></mango:Archives>
				</ul>
			</mangox:TemplatePod>
			
			<!--- all links by category --->
			<mangox:TemplatePod id="links-by-category">
				<mangox:LinkCategories>
				<mangox:LinkCategory>
					<h3><mangox:LinkCategoryProperty name /></h3>
				</mangox:LinkCategory>
				<div class="content">
					<ul class="linklist">
						<mangox:Links>
							<mangox:Link ifCurrentIsFirst>
							<li class="first"><a href="<mangox:LinkProperty address />" title="<mangox:LinkProperty title />"><mangox:LinkProperty title /></a></li>
							</mangox:Link>
							<mangox:Link ifCurrentIsNotFirst>
							<li><a href="<mangox:LinkProperty address />" title="<mangox:LinkProperty title />"><mangox:LinkProperty title /></a></li>
							</mangox:Link>
						</mangox:Links>
					</ul>
				</div>
			</mangox:LinkCategories>
			</mangox:TemplatePod>
						
			<!--- category cloud --->
			 <mangox:TemplatePod id="category-cloud" title="Tag Cloud">
				<mangox:CategoryCloud />
			</mangox:TemplatePod> 
						
			<!--- feeds --->
			<mangox:TemplatePod id="feeds" title="Feeds">
				<ul class="linklist">
			 	<li class="first"><a href="<mango:Blog rssurl />" class="last">RSS Feeds</a></li>
    			</ul>
			</mangox:TemplatePod>
						
			<!--- output all the pods, including the ones added by plugins --->
			<mangox:Pods>
				<mangox:Pod>
					<mangox:PodProperty ifHasTitle>
					<h3><mangox:PodProperty title /></h3>
					<div class="content">
						<mangox:PodProperty content />
					</div>
					</mangox:PodProperty>
				</mangox:Pod>
				<mangox:Pod><!--- output the content as is, good for "templatePods" --->
					<mangox:PodProperty ifNotHasTitle>
						<mangox:PodProperty content />
					</mangox:PodProperty>
				</mangox:Pod>
			</mangox:Pods>
		
</cfif>